import org.springframework.context.support.ClassPathXmlApplicationContext;

import com.yt.service.UserService;


public class test {

	public static void main(String[] args) {
		  ClassPathXmlApplicationContext cxa = new ClassPathXmlApplicationContext("spring-config/dispatcher-servlet.xml");
	        cxa.start();  
	        UserService dubboService = (UserService) cxa.getBean("userService");  
	        System.out.println("======================client:"+dubboService.getName(1));  

	}

}
